Drools Tutorial
================================

Installation
------------

* I was not able to successfully install Drools v.7!!! So i refer to Drools v.6.5.

* Download and install Eclipse IDE for Enterprise Java Developers:
- MARS 2 for Drools v.6
https://www.eclipse.org/downloads/packages/release/mars/2/eclipse-ide-java-ee-developers
- LATEST Eclipse DOES NOT WORK!

* Install Jboss plugin:
- add http://download.jboss.org/jbosstools/updates/stable/luna/ as an update site. 
Help >> Install New Software
- select only JBoss Application Development & JBoss Business Intelligence Reporting and Charting plugins.


* Download the "Drools and jBPM tools" zip (from the table above), unzip it and configure the directory "binaries/org.drools.updatesite" as a local updatesite:
- Open Eclipse.
- Open the menu "Help", menu item "Install new software..."
- Click on the button "Add..." to add a new software site.
- Fill in the name "drools local update site"
- Click on the button "Local..." and select ".../binaries/org.drools.updatesite"
- Select all the plugins. Click the buttons "Next" and "Finish".
ALTERNATIVE:
https://download.jboss.org/drools/release/7.20.0.Final/org.drools.updatesite/

* Install the Drools runtime:
- Go to "Ecipse/Preferences/Drools/Installed Drools Runtimes"
- "Add..."
- select ".../droolsjbpm-tools-distribution-7.20.0.Final/binaries"
- Apply and Close


* Create you first project
- Go to File/New/Other
- Drools project
- Middle option
- Finish
- Right mouse on "DroolsTest" class in source/main/java and run as "java application"
- The following should be displayed on the console view:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Hello World
Goodbye cruel world






